<template>
    <view>
        <view class="message">
            <view class="list">
                <navigator url="../pinglun/index" open-type="navigate">
                    <view class="list_left">
                        <view class="heade">
<!--                            <image src="/static/img/duihua.png" class="img"></image>-->
                            <text class="iconfont color_40">&#xe627;</text>
                        </view>
                        <view class="content">
                            <view class="title">
                                <view>评论</view>
                                <view class="date">08-19</view>
                            </view>
                            <view class="des">Iris宝贝：真棒真棒真棒，我也要试一下这个功能！</view>
                        </view>
                    </view>
                </navigator>
            </view>
            <view class="list">
                <navigator url="../friend_dynamics/index" open-type="navigate">
                    <view class="list_left">
                        <view class="heade">
<!--                            <image src="/static/img/duihua.png" class="img"></image>-->
                            <text class="iconfont color_40">&#xe623;</text>
                        </view>
                        <view class="content">
                            <view class="title">
                                <view>好友动态</view>
                                <view class="date">14:00</view>
                            </view>
                            <view class="des">王淇淇上传了新的作品《致橡树》</view>
                            <view class="num">99</view>
                        </view>
                    </view>
                </navigator>
            </view>
            <view class="list">
                <navigator url="../my_concern/index" open-type="navigate">
                    <view class="list_left">
                        <view class="heade">
<!--                            <image src="/static/img/guanzhu.png" class="img"></image>-->
                            <text class="iconfont color_40">&#xe628;</text>
                        </view>
                        <view class="content">
                            <view class="title">
                                <view>关注</view>
                                <view class="date">14:00</view>
                            </view>
                            <view class="des">杜杜关注了你</view>
                            <view class="num">1</view>
                        </view>
                    </view>
                </navigator>
            </view>
            <view class="list">
                <navigator url="../dian_zan/index" open-type="navigate">
                    <view class="list_left">
                        <view class="heade">
<!--                            <image src="/static/img/zan2.png" class="img"></image>-->
                            <text class="iconfont color_40">&#xe62b;</text>
                        </view>
                        <view class="content">
                            <view class="title">
                                <view>点赞</view>
                                <view class="date">14:00</view>
                            </view>
                            <view class="des">杜杜、淇淇、森森等人给你点了赞</view>
                            <view class="num">1</view>
                        </view>
                    </view>
                </navigator>
            </view>
        </view>
    </view>
</template>

<script>
    export default {
        name: "index"
    }
</script>

<style lang='scss'>
    .message{
        padding: 0upx 55upx;
        .list{
            display: flex;
            align-items: center;
            justify-content: space-between;
            .list_left{
                display: flex;
                align-items: center;
                .heade{
                    width: 90upx;
                    height: 90upx;
                    border-radius: 50%;
                    background-color: $uni-color-fffbf0;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    .color_40{
                        color: $uni-color-fcb300;
                        font-size: 40upx;
                    }
                }
                .content{
                    width: 528upx;
                    margin-left: 20upx;
                    padding:40upx 0;
                    box-sizing: border-box;
                    border-bottom: 2upx solid $uni-border-color;
                    position: relative;
                    .title{
                        display: flex;
                        justify-content: space-between;
                        align-items: center;
                        font-size: $uni-font-size-base;
                        color: $uni-color-664e37;
                        .date{
                            font-size: $uni-font-size-sm;
                        }
                    }
                    .des{
                        width: 100%;
                        overflow: hidden;
                        text-overflow:ellipsis;
                        white-space: nowrap;
                        padding-top: 8upx;
                        font-size: $uni-font-size-14;
                        color: $uni-color-876a48;
                    }
                    .num{
                        position: absolute;
                        bottom: 40upx;
                        right:0upx;
                        width: 28upx;
                        height: 28upx;
                        background-color: $uni-color-ff0000;
                        border-radius: 50%;
                        font-size: 18upx;
                        color: #fff;
                        text-align: center;
                        line-height: 28upx;
                    }
                }
            }
        }
    }

</style>